//
//  TripsDetailViewController.h
//  chanyou
//
//  Created by leon on 14/12/31.
//  Copyright (c) 2014年 wanli. All rights reserved.
//

#import <UIKit/UIKit.h>
@class TripsModel;
@class TripsDetailModel;
@interface TripsDetailViewController : UIViewController<UINavigationControllerDelegate>

@property (nonatomic, retain) TripsModel *trips;
@property (nonatomic, retain) TripsDetailModel *tripsDetail;

@property (nonatomic, retain) UITableView *detailTableView;
@property (nonatomic, retain) NSMutableArray *detailTableArray;
@property (nonatomic, retain) NSMutableArray *tripsArray;
// header
@property (nonatomic, retain) UIImageView *imgView;
@property (nonatomic, retain) UIImageView *userView;
@property (nonatomic, retain) UILabel *nameLabel;
@property (nonatomic, retain) UILabel *dateLabel;
@property (nonatomic, retain) UILabel *userNameLabel;

//存储model
@property (nonatomic, retain) NSMutableArray *totalDay;
@property (nonatomic, retain) NSMutableArray *oneDay;




@property (nonatomic, retain) NSString *imgStr;
@property (nonatomic, retain) NSString *userStr;
@property (nonatomic, retain) NSString *name;
@property (nonatomic, retain) NSString *date;
@property (nonatomic, retain) NSString *userName;



@property (nonatomic, assign) NSInteger IdNum;

@property (nonatomic, retain) NSMutableArray *dayList;
@property (nonatomic, retain) NSString *destinationId;

@property (nonatomic, retain) UIButton *button;


@property (nonatomic, retain) NSString *connectStr;

// alert
@property (nonatomic, retain) UIAlertView *alert;
@property (nonatomic, retain) UIAlertView *alterLogin;
@property (nonatomic, retain) UIAlertView *alertCollection;

@property (nonatomic, retain) UIView *coverView;

@property (nonatomic, retain) UIImageView *reloadImg;
@end
